import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class BackupDto {
  @ApiProperty({ description: '恢复数据的时间戳' })
  @IsNotEmpty()
  file: string;
}
